//
//  People.m
//  CHENGER
//
//  Created by mac on 16/11/24.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "People.h"

@implementation People

- (id)initWithName:(NSString *)name peopleID:(NSInteger)peopleID
{
    self = [super init];
    if (self) {
        _name = name;
        _peopleID = peopleID;
    }
    return self;
}

+(People *)createContactWithName:(NSString *)name peopleID:(NSInteger)peopleID{


    return [[self alloc]initWithName:name peopleID:peopleID];


}
-(void)dealloc{
    [_name release];
    [super dealloc];



}
@end
